package com.jiantong.work.service;

import com.jiantong.work.model.MarkWearManagement;
import io.terminus.common.model.Paging;
import io.terminus.common.model.Response;;import java.util.Map;

/**
 * Created by mz03 on 2017/7/20.
 */
public interface MarkWearManagementReadService {
    /**
     * 根据id 查找
     * @param id
     * @return
     */
    Response<MarkWearManagement> findById(Long id);

    /**
     * 根据时间和批号分组,分页查看当前登录人管辖养殖场
     * @param pageNo
     * @param pageSize
     * @param map
     * @return
     */
    Response<Paging<MarkWearManagement>> pagingMarkWearManagement(Integer pageNo , Integer pageSize, Map<String,Object> map);

}
